import * as ActionTypes from './ActionTypes.js';
import AppDispatcher from './AppDispatcher.js';

export const increment = (counterCapiton) => {
	AppDispatcher.dispatch({
		type: ActionTypes.INCREMENT,
		counterCapiton: counterCapiton
	});
};

export const decrement = (counterCapiton) => {
	AppDispatcher.dispatch({
		type: ActionTypes.DECREMENT,
		counterCapiton: counterCapiton
	});
};